package IT.shi.OOP;

/**
 * @author げっしょく
 * @date 2021/7/8
 */
public class Student {
    private String name;
    private int age;

    public Student() {

}
    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void study(){
        System.out.println(name+"..."+age);
        System.out.println("我们三个人都有共同的爱好如下：");
        System.out.println("喜欢去洗浴中心");
        System.out.println("喜欢去采耳和足浴");
//        System.out.println("不渴望力量，渴望奶子");
    }
}
